package com.woniu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.PageData;
import com.woniu.entity.dto.QueryBerthDTO;
import com.woniu.pojo.Berth;
import com.woniu.pojo.Road;

/**
* @author Ma.Lei
* @description 针对表【t_berth】的数据库操作Service
* @createDate 2022-12-16 23:27:33
*/
public interface BerthService extends IService<Berth> {

    Berth selectByBerthCode(String berthCode);

    Road selectRoadByBerthCode(String berthCode);

    void updateStatusById(String id, String status);
    String getIdByCode(String berthCode);

    void updateBerthStatus(String berthId, String s);
    PageData listSearch(Integer currentPage, Integer pageSize, QueryBerthDTO queryBerthDTO);

    Road getByRoadName(String id);
}
